<div class="main-wrap">

    <div class="crumb-wrap">
        <div class="crumb-list"><i class="icon-font"></i><a href="index.html">结算管理</a><span class="crumb-step">&gt;</span>
        <span class="crumb-name">{$query['type']==1 ? '联通已结算订单':'物流已结算订单'}</span>
        </div>
    </div>
    <div class="search-wrap">
        <div class="search-content">
            <form action="" method="post">
                <table class="search-tab">
                    <tr>
                        <th width="120">开始时间:</th>
                        <td>
                            <input class="common-text" name="starttime" size="15" type="text" value="{$query['starttime']}" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})">
                        </td>
                        <th width="120">结束时间:</th>
                        <td>
                            <input class="common-text" name="endtime" size="15" type="text" value="{$query['endtime']}" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})">
                        </td>
                        <if condition="$isAdmin eq true">
                            <th width="70">物流：</th>
                            <td>{:frm_out_put($express,'exp','option',$query['exp'],'','-请选择-')}</td>
                        </if>
                        <td><input class="btn btn-primary btn2" name="sub" value="查询" type="submit"></td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
    <div class="result-wrap">
        <div class="result-title">
            <div class="result-list">
                <a href="{:U('Admin/Prize/export1',array('parameters'=>json_encode($query)))}"><i class="icon-font">&#xe005;</i>导出Excel</a>
                <a href="#" onclick="printArea();return false;"><i class="icon-font">&#xe005;</i>打印</a>
            </div>
        </div>
        <div class="result-content">
            <table class="result-tab" width="100%" id="printarea">
                <tr>
                    <th class="tc1 noprint" width="5%"><input class="allChoose" name="" type="checkbox"></th>
                    <th>商品码</th>
                    <th>商品名称</th>
                    <th>商品级别</th>
                    <th>分类</th>
                    <th>联通商城价</th>
                    <th>物流</th>
                </tr>
                <volist id="vo" name="list">
                    <tr>
                        <td class="tc noprint"><input name="id[]" type="checkbox" value="{$vo.id}"></td>
                        <td>{$vo.sncode}</td>
                        <td>{$vo.title}</td>
                        <td>{$sortarr[$vo['sort']]}</td>
                        <td>{$categray[$vo['categray']]}</td>
                        <td>{$vo.saleprice}</td>
                        <td>{$express[$vo['kd_id']]}</td>
                    </tr>
                </volist>
            </table>
            <div class="list-page">{$page}</div>

            <table class="result-tab" width="100%">
                <tr>
                    <td>总金额：{$totalprice}</td>
                </tr>

            </table>
        </div>
    </div>

</div>
<script language="javascript" type="text/javascript" src="__JS__/calendar/WdatePicker.js"></script>
<script language="javascript" type="text/javascript" src="__JS__/jquery.jqprint-0.3.js"></script>
<script type="text/javascript">
    function printArea(){
        $("#printarea").jqprint();
    }
</script>